home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 444_01 / chsclk13 / chessclk.doc < prev    next >
Encoding:
Text File  |  1995-10-24  |  5.9 KB  |  107 lines

  1. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  2.  
  3.                                   CHESSCLOCK
  4. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  5.  
  6. Any serious chess player will sooner or later wish to own a chess clock.  
  7. Chess clocks, little hand-made marvels of craftsmanship embedding two 
  8. distinct clock mechanisms in a wooden case, are indispensable for tournament 
  9. play, not to mention for 15-minute or 5-minute "blitz" games.  Nowadays, they 
  10. are obtainable only at specialty shops, if at all, and cost upwards of $100 
  11. [a catalog lists Jerger (tm) wooden chess clocks at $134.95]. Little Swiss 
  12. clockmakers belong to a bygone era, and the "nifty" wooden chess clock you 
  13. end up spending a goodly sum for might well have been manufactured in a 
  14. Third World country and have only "fair" accuracy. Here is an alternative.
  15.  
  16. This is a full-featured chess clock implemented entirely in software.  It 
  17. boasts digital time displays, a visual move counter, separately settable 
  18. White and Black clocks with a setting range from one minute up to 99 hours, 
  19. an optional low-time warning, and an optional graphic "tick" indicator. A
  20. red "in use flag" gives a quick visual indication of which player's clock is 
  21. currently running (new to version 1.1 ). A beep or beep-beep signals the 
  22. keypress that changes from one player's clock to the other (new to version 
  23. 1.2, this at the suggestion of D.J. Castater of San Diego, CA).
  24.  
  25. This program requires a VGA monitor / card and a 386 or better machine. 
  26. It has been tested on 386SX and 486DX clones with VGA monitors, one with a 
  27. Tseng Labs clone graphics card and the other with a Trident graphics card. 
  28. Any generic VGA color monitor and card combination should work. It has not 
  29. been tested with a monochrome VGA display. It should work on the expensive 
  30. laptops with color VGA displays, but I cannot speculate whether laptop mono 
  31. VGA displays would give adequate results. I have made *no* effort toward 
  32. Windows (tm) compatibility. I would like to hear how it works on your 
  33. machine. 
  34.  
  35. No special installation procedure is required. Just copy the file 
  36. CHESSCLK.EXE to a directory of your choice on your Hard Drive, or even onto 
  37. a working floppy. Type CHESSCLK to run it. The opening screen displays until 
  38. a key is pressed.
  39.  
  40. The options screen asks for time to be allotted to White and Black. Just 
  41. pressing RETURN for "hours" automatically sets "hours" to zero, and likewise 
  42. for "minutes". Pressing RETURN for both hours and minutes defaults to the 
  43. standard setting of two hours exactly [this is a fast way to start the 
  44. clock(s) at two hours]. You may now choose a flashing "ticking" display 
  45. (some players may find it distracting). A "low-time" warning is the final 
  46. option, giving a brief buzz when either player's time winds down to a chosen 
  47. interval. Press a key when play commences. White's time begins counting 
  48. down. When White has moved, he/she presses a key (the SPACE BAR is handy) to 
  49. begin the Black countdown. Black in turn presses a key after having moved. A 
  50. "bleep" gives an audio notification if time runs out for either player. 
  51.  
  52. Pressing the [p] key PAUSES the clock. A special beep-beep-beep signal 
  53. announces the =pause=. Pressing a key restarts the clock (and changes 
  54. players).This =pause= function has been implemented by special request to 
  55. allow interruptions in play without disturbing the game timing. 
  56.  
  57. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  58.  
  59. CHESSCLK may be of special interest to tournament Scrabble (tm) players, or 
  60. those playing timed versions of that game. The program is perfectly suited 
  61. for that application, or for any timed two-player game, such as board war 
  62. games. The =pause= function (see above) permits "challenges" or evaluations 
  63. while the clocks are frozen. 
  64.  
  65. Scrabble (tm) is a trademark of the Milton Bradley Co., Inc.
  66.  
  67. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  68.  
  69. In the spirit of Open Access, I am including the C++ and C source code in 
  70. this archive for those programmers wishing to play around with and hopefully 
  71. improve this program. Feel free to modify, but please request my approval 
  72. before distributing a modified version. I would be interested in seeing your 
  73. "improved" models.  Credit will be freely given for genuine improvements.
  74.  
  75. Note that I have extensively "patched" the source code to provide extra 
  76. features. It does not look pretty, but it works. My apologies to the 
  77. programming purists [if you think you can do better, feel free to try].
  78.  
  79. If there is enough interest shown (feedback and *registrations*), a "Bobby 
  80. Fischer option" *may* be included in future versions of CHESSCLK. This would 
  81. (optionally) add on time to the clock of player who has just moved. This 
  82. innovation has generated some excitement in the chess world. 
  83.  
  84. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  85.  
  86. This is Cheapware. I am requesting a modest $1.00 contribution as compen-
  87. sation for the time spent developing this program. That is not much to pay 
  88. for saving $75 and up on a less functional wooden chess clock. Please write 
  89. out a $1.00 check, place it into an envelope, and mail it to a "starving", 
  90. but hard-working programmer. Yes, I truly need the money. Grilled cheese 
  91. sandwiches do get monotonous.
  92.  
  93. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  94.  
  95. Note: I am using the software I have written as a means of establishing 
  96. "credentials" for myself as a programmer. This is a prelude to a career move 
  97. to computing. If you could help me in this endeavor, I would be eternally 
  98. grateful (as well as waiving the registration fees on all my shareware).
  99.  
  100. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  101.  
  102. M\Cooper
  103. 3425 Chestnut Ridge Rd.
  104. Grantsville, MD 21536-9801
  105. --------------------------
  106. Email:  thegrendel@aol.com
  107.